<extend name="Base/form" />

<block name="title">订单管理</block>
<block name="head"><script type="text/javascript" src="__PUBLICJS__/Address.js"></script>
<script type="text/javascript" src="__JS__/Order2.js"></script>
<link rel="stylesheet" type="text/css" href="__CSS__/{$Think.const.CONTROLLER_NAME}.css"></block>

<block name="nav">
<li><a href="{:U(CONTROLLER_NAME.'/index')}">列表</a></li>
<li class="current"><a href="{:U(CONTROLLER_NAME.'/add')}">添加</a></li>
<li><a href="{:U(CONTROLLER_NAME.'/multi')}">批量修改物流</a></li>
</block>

<block name="form">
<div id="form">
  <form method="post" action="">
    <dl>
      <dd>下单模板：<select name="tid" class="select">{$Template}</select> 只对模板中勾选的字段进行验证</dd>
      <dd>订购产品：<select name="pid" class="select">{$Product}</select></dd>
      <dd>成交单价：<input type="text" name="price" class="input-text"></dd>
      <dd>订购数量：<input type="text" name="count" value="1" class="input-text"></dd>
      <dd>姓　　名：<input type="text" name="name" class="input-text"></dd>
      <dd>联系电话：<input type="text" name="tel" class="input-text"></dd>
      <dd>所在地区：<label><input type="radio" name="type" value="a" checked>选择填写</label> <label><input type="radio" name="type" value="b">手动填写</label></dd>
      <dd id="aa">　　　　　<select id="province" name="province" class="select"></select> <select id="city" name="city" class="select"></select> <select id="county" name="county" class="select"></select></dd>
      <dd id="bb">　　　　　<input type="text" name="province2" class="input-text text2">省<input type="text" name="city2" class="input-text text2">市<input type="text" name="county2" class="input-text text2">区/县</dd>
      <dd>街道地址：<input type="text" name="address" class="input-text"></dd>
      <dd>邮政编码：<input type="text" name="post" class="input-text"></dd>
      <dd class="textareadd"><span>备　　注：</span><textarea name="note" class="textarea"></textarea></dd>
      <dd>电子邮箱：<input type="text" name="email" class="input-text"></dd>
      <dd>支付状态：<select name="pay" class="select"><foreach name="Pay" key="key" item="value"><option value="{$key}">{$value}</option></foreach></select></dd>
      <dd>订单状态：{$Ostate}</dd>
      <dd>物流公司：<select name="lid" class="select">{$Logistics}</select></dd>
      <dd>物流编号：<input type="text" name="logistics_id" class="input-text"></dd>
      <dd><input type="submit" value="确认添加" class="btn btn-primary radius"></dd>
    </dl>
  </form>
</div>
</block>